package cn.hl.hm.service;

import cn.hl.hm.entity.DriverStatusHistory;

import java.util.List;

public interface DriverStatusHistoryService {

    int deleteByPrimaryKey(Integer id);

    int insert(DriverStatusHistory record);

    int insertSelective(DriverStatusHistory record);

    DriverStatusHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DriverStatusHistory record);

    int updateByPrimaryKey(DriverStatusHistory record);

    int save(Integer driverId,String updateBy,String driverBeforeStatus,String driverAfterStatus);

    int save(Integer driverId,String updateBy,String driverAfterStatus);

    List<Integer> selectUpdateBys();

    List<DriverStatusHistory> selectListByPrimaryKeySelective(Integer driverId,String startTime,String endTime,Integer updateBy);
}